import Layout from "../views/layout/Layout";

export const brokerageRoutes = [
  {
    path: "",
    component: Layout,
    redirect: "brokerageUser/index",
    name: "brokerage",
    meta: {
      title: "分销管理",
    },
    children: [
      {
        path: "brokerageUser/index",
        name: "brokerageUser",
        component: () => import("@/views/brokerage/brokerageUser/index"),
        meta: { title: "分销用户", icon: "ums-admin" },
        hidden: true,
      },
      {
        path: "brokerageWithdraw/index",
        name: "brokerageWithdraw",
        component: () => import("@/views/brokerage/brokerageWithdraw/index"),
        meta: { title: "提现记录", icon: "ums-admin" },
        hidden: true,
      },
      {
        path: "brokerageRecord/index",
        name: "brokerageRecord",
        component: () => import("@/views/brokerage/brokerageRecord/index"),
         meta: { title: "奖励记录", icon: "ums-admin" },
        hidden: true,
      },
      {
        path: "campanySearch/index",
        name: "campanySearch",
        component: () => import("@/views/brokerage/campanySearch/index"),
        meta: { title: "公司查询", icon: "ums-admin" },
        hidden: true,
      }
    ],
  },
];
